package com.tiancheng.trade.settlement.service.settlement;

import com.tiancheng.trade.settlement.vo.settlement.admin.SettlementSituationQueryVO;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
 * 清分情况
 */
public interface ISettlementSituation {


    /**
     * 更新清分情况报表数据
     *
     * @param settlementSituationQueryVO
     * @return
     */
    Map<String, Object> updateReport(SettlementSituationQueryVO settlementSituationQueryVO);

    /**
     * 分页查询
     *
     * @param settlementSituationQueryVO
     * @return
     */
    Map<String, Object> query(SettlementSituationQueryVO settlementSituationQueryVO);

    /**
     * 清分情况表导出
     *
     * @param settlementSituationQueryVO
     * @param request
     * @param response
     * @throws IOException
     */
    void export(SettlementSituationQueryVO settlementSituationQueryVO, HttpServletRequest request, HttpServletResponse response) throws IOException;

    /**
     * 差额订单导出
     *
     * @param reportTime
     * @param request
     * @param response
     */
    void diffOrderExport(String reportTime, HttpServletRequest request, HttpServletResponse response);

}
